package com.zuipin.entity.product;

import java.util.ArrayList;
import java.util.List;

import com.zuipin.vo.ProVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商品标签表
 *
 * @ClassName TagInfo
 * @author wangcongyi
 * @date 2017年7月5日 下午6:02:36
 */
@ApiModel(description = "商品标签表")
public class TagInfo {
	private Long				id;									// 商品标签ID
	
	private String				name;								// 标签名称
	
	private String				tagNo;								// 标签编号
	
	private String				proSkus;							// 商品信息SKU集-仅作为数据传输中介
	
	private String				pcImgUrl;							// PC图片URL
	
	private String				wapImgUrl;							// WAP图片URL
	
	private Short				state;								// 标签状态 默认0 0 未启用 1 启用 2禁用
	
	private Long				sysId;								// 系统ID
	
	private Boolean				delFlag;							// 删除标志 0未删除 1已删除
	
	private Long				createId;							// 创建者
	
	private String				createTime;							// 创建时间
	
	private Long				updateId;							// 更新者
	
	private String				updateTime;							// 更新时间
	
	private String				pcImgKey;							// PC端图片key
	
	private String				wapImgKey;							// WAP端图片key
	
	private List<ProVo>			products	= new ArrayList<>();	// 商品集合SKU对应信息
	
	public final static Short	NOT_ENABLED	= 0;					// 未启用
	public final static Short	ENABLED		= 1;					// 启用
	public final static Short	DISABLED	= 2;					// 禁用
	
	@ApiModelProperty(value = "商品标签ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "商品标签名称")
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}
	
	@ApiModelProperty(value = "商品标签编号")
	public String getTagNo() {
		return tagNo;
	}
	
	public void setTagNo(String tagNo) {
		this.tagNo = tagNo == null ? null : tagNo.trim();
	}
	
	@ApiModelProperty(value = "商品信息SKU集-仅作为数据传输中介")
	public String getProSkus() {
		return proSkus;
	}
	
	public void setProSkus(String proSkus) {
		this.proSkus = proSkus;
	}
	
	@ApiModelProperty(value = "PC图片URL")
	public String getPcImgUrl() {
		return pcImgUrl;
	}
	
	public void setPcImgUrl(String pcImgUrl) {
		this.pcImgUrl = pcImgUrl == null ? null : pcImgUrl.trim();
	}
	
	@ApiModelProperty(value = "WAP图片URL")
	public String getWapImgUrl() {
		return wapImgUrl;
	}
	
	public void setWapImgUrl(String wapImgUrl) {
		this.wapImgUrl = wapImgUrl == null ? null : wapImgUrl.trim();
	}
	
	@ApiModelProperty(value = "商品标签状态 0未启用 1启用 2禁用")
	public Short getState() {
		return state;
	}
	
	public void setState(Short state) {
		this.state = state;
	}
	
	@ApiModelProperty(value = "系统ID")
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "删除标志 0未删除 1已删除")
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "创建者")
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建时间")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}
	
	@ApiModelProperty(value = "更新者")
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新时间")
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}
	
	@ApiModelProperty(value = "标签-商品信息列表（查询使用）")
	public List<ProVo> getProducts() {
		return products;
	}
	
	public void setProducts(List<ProVo> products) {
		this.products = products;
	}
	
	@ApiModelProperty(value = "PC端图片key")
	public String getPcImgKey() {
		return pcImgKey;
	}
	
	public void setPcImgKey(String pcImgKey) {
		this.pcImgKey = pcImgKey;
	}
	
	@ApiModelProperty(value = "WAP端图片key")
	public String getWapImgKey() {
		return wapImgKey;
	}
	
	public void setWapImgKey(String wapImgKey) {
		this.wapImgKey = wapImgKey;
	}
	
}